.main-container {
  height: 100%;
  background: #EEEEEE;
  flex: 1;
  width: 100%;

  .search-wrap {
    background: #ffffff;
    padding: 10px 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between
  }

  .main-wrap {
    background: #fff;
    margin: 10px;
    min-height: calc(100vh - 135px);
    padding: 20px;
    width: 100%;

    .card-selection-container {
      width: 100%;
      position: relative;

      .unit {
        position: absolute;
        top: 98px;
        right: 10px;
        color: #698CB2;
        font-size: 12px;
      }

      .row {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        margin-top: -10px;
      }

      .custom-card {
        width: calc(100% / 6 - 10px);
        height: 100px;
        margin: 10px 10px 0 0;
        border-radius: 3px;
        background: url("../../../../../assets/images/data-report/normal-card.png");
        background-size: cover;
        color: #1585FF;
        cursor: pointer;
        padding: 10px;

        p {
          margin: 0;
        }

        p.title {
          font-size: 14px;
          line-height: 14px;
          font-weight: bold;
          margin: 5px 0;

          .circle {
            display: inline-block;
            width: 6px;
            height: 6px;
            border-radius: 3px;
            vertical-align: middle;
            margin: 0 8px 0 0;
            background: #1585FF;
          }
        }

        .content-wrap {
          display: flex;
          margin: 15px 0;

          .info-wrap {
            flex: 1;
            border-right: 1px solid #D8E5F5;
            margin-left: 13px;

            &:last-child {
              border-right: none;
            }

            .num {
              font-size: 16px;
              font-weight: bold;
            }

            p.yellow {
              color: #FA6900;
            }

            p.blue {
              color: #3B88DD;
            }

            .info-name {
              color: #698CB2;
              font-size: 12px;
            }
          }
        }
      }

      .active-card {
        color: #fff;
        background: url("../../../../../assets/images/data-report/active-card.png");
        background-size: cover;
        box-shadow: 0 2px 4px -1px rgba(0, 21, 41, .4);

        p.title {
          .circle {
            background: #fff;
          }
        }

        .content-wrap {
          .info-wrap {
            border-right: 1px solid #A3BAFF;

            p.yellow {
              color: #FFD100;
            }

            p.blue {
              color: #fff;
            }

            .info-name {
              color: #fff;
            }
          }
        }

      }

      .first-row {
        .custom-card {
          background-size: 100% 100%;
          color: #fff;
          width: calc(100% / 6);
          margin: 10px 0 0 0;
          padding: 10px 20px;

          p.title {
            font-size: 16px;
            margin: 12px 0;

            .circle {
              background: #fff;
            }
          }

          .content-wrap {
            .info-wrap {
              .num {
                color: #fff;
                font-size: 24px;
              }
            }
          }

          &:nth-child(1) {
            background-image: url("../../../../../assets/images/realtime-control/emergency-home-bg1.png");
          }

          &:nth-child(2) {
            background-image: url("../../../../../assets/images/realtime-control/emergency-home-bg2.png");
          }

          &:nth-child(3) {
            background-image: url("../../../../../assets/images/realtime-control/emergency-home-bg3.png");
          }
        }
      }
    }

    .charts-container {
      display: flex;
      margin: 15px 0;

      .charts-cell {
        flex: 1;
      }
    }

    .main-table {
      tr.custom-head>th {
        background: #E7ECF1;
        border-right: 1px solid #D3D8DE;
        border-bottom: 1px solid #D3D8DE;
      }

      tr.even {
        background: #F8FAFB;
      }
    }


  }

}
